FROM python:latest
RUN git clone https://gitee.com/arthurhui/operator-back.git
WORKDIR operator-back
COPY config.ini config.ini
WORKDIR /root/.pip
COPY pip.conf pip.conf
WORKDIR /operator-back
RUN pip install -r requirements.txt
COPY run.sh run.sh
RUN chmod u+x run.sh
CMD ./run.sh
